package edu.whut.ExtendsDemo;

public class ExtendsDemo03 {
    public static void main(String[] args) {
        C c = new C();
        c.show();
    }
}
class A{
    public void show(){
        System.out.println("AAA");
    }
}
class B extends A{
    public void show(){
        super.show();
    }
}
class C extends B{
    public void show(){
        super.show();
    }
}


